View Issue Details

IDProjectCategoryView StatusLast Update
0001382K18X001.00 SKB SWANSWpublic2021-11-05 09:10
Reporter(ALTech) Wooshin Kang Assigned To(ALTech) Wooshin Kang Due Date2021-11-04 22:21
PriorityurgentSeveritys2-severeReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001382: Apply patch for NGUG stability
DescriptionSKT is improving NUGU application and they request to apply attached patch.

Below is SKB jira ticket.
https://jira.skbroadband.com/browse/BTVSBOX-556
Additional InformationAv sync issue is happen in BTV and Youtube both
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

(ALTech) Wooshin Kang

2021-11-03 21:25

developer  

test_patch.diff (918 bytes)   
diff --git a/audio/audio_hw.cpp b/audio/audio_hw.cpp
old mode 100644
new mode 100755
index b9c14e7..2135f14
--- a/audio/audio_hw.cpp
+++ b/audio/audio_hw.cpp
@@ -886,6 +886,22 @@ static int adev_set_parameters(struct audio_hw_device *dev,
             ALOGV("%s, line %d, adev->audioStreamIn == NULL", __FUNCTION__, __LINE__);
         }
     }
+
+    /* charmk, for test */
+    memset(str, 0x0, 32);
+    ret = ret = str_parms_get_str(parms, "nugu_amp", &str[0], 32);
+    {
+        if (!strcmp(str, "off"))
+        {
+            ALOGI("[charmk]===============> NUGU AMP OFF");
+            AMP_SND_SetMute(AMP_SND_PATH_71, true);
+        }
+        else if (!strcmp(str, "on"))
+        {
+            ALOGI("[charmk]===============> NUGU AMP ON");
+            AMP_SND_SetMute(AMP_SND_PATH_71, false);
+        }
+    }
 #endif
 
     ret = str_parms_get_int(parms, AUDIO_PARAMETER_DEVICE_DISCONNECT, &value);
test_patch.diff (918 bytes)   

(SW) River Wong

2021-11-04 18:03

developer   ~0008667

Hi Wooshin,

Patch is committed to V5.3.2 Bitbucket.

commit 619711c6aa03d88e63624ab872d5ff174ad60ece
Author: river wong <river.wong@fii-foxconn.com>
Date: Thu Nov 4 17:58:42 2021 +0800

    [BTVSBOX-556] Apply patch for NUGU stability

(ALTech) Wooshin Kang

2021-11-05 09:10

developer   ~0008670

I saw commit.

Issue History

Date Modified Username Field Change
2021-11-03 21:25 (ALTech) Wooshin Kang New Issue
2021-11-03 21:25 (ALTech) Wooshin Kang Status new => assigned
2021-11-03 21:25 (ALTech) Wooshin Kang Assigned To => (SW) River Wong
2021-11-03 21:25 (ALTech) Wooshin Kang File Added: test_patch.diff
2021-11-04 09:20 (ALTech) Wooshin Kang Description Updated
2021-11-04 09:20 (ALTech) Wooshin Kang Additional Information Updated
2021-11-04 18:03 (SW) River Wong Status assigned => resolved
2021-11-04 18:03 (SW) River Wong Resolution open => fixed
2021-11-04 18:03 (SW) River Wong Note Added: 0008667
2021-11-04 18:03 (SW) River Wong Assigned To (SW) River Wong => (ALTech) Wooshin Kang
2021-11-05 09:10 (ALTech) Wooshin Kang Status resolved => closed
2021-11-05 09:10 (ALTech) Wooshin Kang Note Added: 0008670